package com.core.entities;

import java.io.Serializable;

/**
 * 
 * This classes is the Data Transfer Object(Value Object) defination for the
 * entity online_account
 * 
 */

public class Online_account implements Serializable {
	private int id;
	private String facebook;
	private String twitter;
	private String google;

	public Online_account() {
	}

	public Online_account(int id, String facebook, String twitter, String google) {
		this.id = id;
		this.facebook = facebook;
		this.twitter = twitter;
		this.google = google;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return (id);
	}

	public void setFacebook(String facebook) {
		this.facebook = facebook;
	}

	public String getFacebook() {
		return (facebook);
	}

	public void setTwitter(String twitter) {
		this.twitter = twitter;
	}

	public String getTwitter() {
		return (twitter);
	}

	public void setGoogle(String google) {
		this.google = google;
	}

	public String getGoogle() {
		return (google);
	}

	public String toString() {
		StringBuffer ret = new StringBuffer();
		ret.append("com.core.entities.Online_account :");
		ret.append("id='" + id + "'");
		ret.append(", facebook='" + facebook + "'");
		ret.append(", twitter='" + twitter + "'");
		ret.append(", google='" + google + "'");
		return ret.toString();
	}
}
